#include "MeshAnimationAffectorFactory.h"
#include "MeshAnimationAffector.h"

namespace Destiny
{
	CMeshAnimationAffectorFactory* CMeshAnimationAffectorFactory::mSelf = NULL ;
	CMeshAnimationAffectorFactory::CMeshAnimationAffectorFactory(void)
	{
	}


	CMeshAnimationAffectorFactory::~CMeshAnimationAffectorFactory(void)
	{
	}

	Ogre::ParticleAffector* CMeshAnimationAffectorFactory::createAffector(Ogre::ParticleSystem* psys) 
	{
		CMeshAnimationAffector* pParticleAffector = new CMeshAnimationAffector(psys) ;
		mAffectors.push_back( pParticleAffector ) ;
		return pParticleAffector ;
	}
}